SureCart\Models\Model D

Total Complexity 153
Dependencies 5
Dependents 7
Total lines 1,256
Lines of code 504
Logical lines of code 266
Comment lines 559
Methods 71
Properties 17

Methods 71

Method Rating Maintainability Complexity Lines of code
toArray()
A
50 8 27
create()
A
50 7 31
update()
S
50 6 30
setAttributes()
S
54 6 20
delete()
S
55 6 20
save()
S
58 5 16
isDirty()
S
59 5 15
getDirty()
S
61 5 12
setCollection()
S
63 5 10
get()
S
59 4 15
paginate()
S
59 4 15
getAttribute()
S
62 4 12
isFillable()
S
63 4 10
find()
S
61 3 13
refresh()
S
62 3 12
setAttribute()
S
61 3 12
setRelation()
S
72 3 5
isError()
S
75 3 3
prepareRequest()
S
65 3 8
first()
S
66 3 8
originalIsNumericallyEquivalent()
S
70 3 5
getOriginal()
S
70 3 6
__construct()
S
64 2 9
fresh()
S
65 2 10
getCreatedByAttribute()
S
70 2 6
getMutator()
S
65 2 8
getRelationId()
S
74 2 4
isGuarded()
S
74 2 4
fireModelEvent()
S
65 2 8
bootModel()
S
69 2 7
setPagination()
S
63 1 12
__call()
S
78 1 3
__unset()
S
81 1 3
__isset()
S
80 1 3
getAttributes()
S
79 1 3
offsetUnset()
S
79 1 3
offsetSet()
S
80 1 3
offsetGet()
S
80 1 3
__set()
S
80 1 3
__get()
S
80 1 3
jsonSerialize()
S
81 1 3
offsetExists()
S
79 1 3
getMode()
S
82 1 3
makeRequest()
S
78 1 3
created()
S
79 1 3
getQuery()
S
82 1 3
filterMetaData()
S
82 1 3
syncOriginal()
S
77 1 4
getCalledClassName()
S
68 1 7
boot()
S
89 1 2
hasAttribute()
S
79 1 3
registerModelEvent()
S
74 1 4
retrieved()
S
79 1 3
saving()
S
79 1 3
saved()
S
79 1 3
creating()
S
79 1 3
updating()
S
79 1 3
getCacheStatus()
S
82 1 3
updated()
S
79 1 3
deleting()
S
79 1 3
deleted()
S
79 1 3
fill()
S
80 1 3
resetAttributes()
S
77 1 4
setMetadataAttributes()
S
74 1 4
addToMetaData()
S
74 1 4
getFillable()
S
82 1 3
getGuarded()
S
82 1 3
where()
S
75 1 4
with()
S
74 1 4
setMode()
S
77 1 4
__callStatic()
S
78 1 3